package com.openbravo.pos.scanpal2;

import com.openbravo.pos.forms.AppProperties;
import com.openbravo.pos.util.StringParser;

public class DeviceScannerFactory
{
  public static DeviceScanner createInstance(AppProperties paramAppProperties)
  {
    StringParser localStringParser = new StringParser(paramAppProperties.getProperty("machine.scanner"));
    String str1 = localStringParser.nextToken(':');
    String str2 = localStringParser.nextToken(',');
    if ("scanpal2".equals(str1))
      return new DeviceScannerComm(str2);
    return null;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.scanpal2.DeviceScannerFactory
 * JD-Core Version:    0.6.0
 */